package com.todo.strategy.online.iface.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @author azhebuxing
 * @date 2024/11/29 19:00
 * @description
 */
@Data
@Schema(title = "备忘录关联内容详情", description = "备忘录关联内容详情")
public class MemoRelationContentModelParam {

    /**
     * 模块分类
     */
    @Schema(title = "模块分类", description = "模块分类")
    private List<ModuleClassify> moduleClassifyList;

    @Data
    @Schema(title = "模块", description = "模块")
    public static class ModuleClassify {

        /**
         * 模块名称
         */
        @Schema(title = "模块名称", description = "模块名称")
        private String moduleName;
        /**
         * 模块排序
         */
        @Schema(title = "模块排序", description = "模块排序")
        private Integer sort;
        /**
         * 详情列表
         */
        @Schema(title = "详情列表", description = "详情列表")
        private List<Item> itemList;

    }

    @Data
    @Schema(title = "项目", description = "项目")
    public static class Item {
        /**
         * 项目名称
         */
        @Schema(title = "项目名称", description = "项目名称")
        private String itemName;
        /**
         * 排序
         */
        @Schema(title = "排序", description = "排序")
        private Integer sort;

        /**
         * 基本说明
         */
        @Schema(title = "基本说明", description = "基本说明")
        private String describe;
        /**
         * 是否校验
         */
        @Schema(title = "是否校验", description = "是否校验")
        private Integer checked;
        /**
         * 备注说明
         */
        @Schema(title = "备注说明", description = "备注说明")
        private String remark;
    }
}
